package com.openx.xoj.model.Teacher;

import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class Examination {
    private Integer id;
    private String courseName;
    private String title;
    private String description;
    private LocalDateTime dueDate;
    private Double scoreWeight;
    private Boolean isPublic;
    private String password;
    private List<Integer> idArray;

    // 默认构造函数
    public Examination() {
        // 设置默认值，可以根据您的业务逻辑自行调整
        this.isPublic = false;  // 默认设为非公开，您可以根据需要设置为true
    }
}
